package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_great_trade_goods", autoSave = true,uploadCk = true,desc = "大商途-行商日志")
public class LogGreatTradeGoods extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商品")
    private int goodsId;
    @FieldTypeAnnotation(desc = "购买1、出售0")
    private int get;
    @FieldTypeAnnotation(desc = "数量")
    private int num;
    @FieldTypeAnnotation(desc = "盈利")
    private String yingli;
    @FieldTypeAnnotation(desc = "现银")
    private String sliver;
    @FieldTypeAnnotation(desc = "背包容量")
    private int bagNum;
    @FieldTypeAnnotation(desc = "健康")
    private int health;
    @FieldTypeAnnotation(desc = "声望")
    private long prestige;
    @FieldTypeAnnotation(desc = "称号")
    private int title;
    @FieldTypeAnnotation(desc = "年龄")
    private int age;
    @FieldTypeAnnotation(desc = "总资产")
    private String assets;
    @FieldTypeAnnotation(desc = "开局场次")
    private int times;


    public LogGreatTradeGoods(long userId, int activityId, int goodsId, int get, int num, String yingli, String sliver, int bagNum, int health, long prestige, int title, int age, String assets, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.goodsId = goodsId;
        this.get = get;
        this.num = num;
        this.yingli = yingli;
        this.sliver = sliver;
        this.bagNum = bagNum;
        this.health = health;
        this.prestige = prestige;
        this.title = title;
        this.age = age;
        this.assets = assets;
        this.times = times;

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getGet() {
        return get;
    }

    public void setGet(int get) {
        this.get = get;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getYingli() {
        return yingli;
    }

    public void setYingli(String yingli) {
        this.yingli = yingli;
    }

    public String getSliver() {
        return sliver;
    }

    public void setSliver(String sliver) {
        this.sliver = sliver;
    }

    public int getBagNum() {
        return bagNum;
    }

    public void setBagNum(int bagNum) {
        this.bagNum = bagNum;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }

    public long getPrestige() {
        return prestige;
    }

    public void setPrestige(long prestige) {
        this.prestige = prestige;
    }

    public int getTitle() {
        return title;
    }

    public void setTitle(int title) {
        this.title = title;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAssets() {
        return assets;
    }

    public void setAssets(String assets) {
        this.assets = assets;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

}
